<?php
foreach($videos as $video)
{
      echo  "<div class='movie_box'>".link_to("<img src='".$video->getSnapshot_big()."' width='184' height='138' />"
          ,"video/detail?videoId=".$video->getVideo_id(),"target='_blank'")."
            <h3>".link_to($video->getTitle(),"video/detail?videoId=".$video->getVideo_id(),"target='_blank'")."
          </h3><p class='movie_tit1'>'".$video->getArtist()."'</p>
            <p class='movie_tit2'>发布时间".date('Y/m/d',strtotime($video->getPublish_time()))."</p>
            <p class='movie_tit3'>片长：<b>  ".substr($video->getDuration(),0,8)."</b></p>
            </div>";
}
?>